<form id="pagerForm" method="get" action="/dwz/userList">
	<input type="hidden" name="status" value="${(param.status)!""}">
	<input type="hidden" name="keywords" value="${(param.keywords)!""}" />
	<input type="hidden" name="pageNum" value="1" />
	<!--<input type="hidden" name="numPerPage" value="${(model.numPerPage)!""}" />-->
	<!--<input type="hidden" name="orderField" value="${(param.orderField)!""}" />-->
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/dwz/userList" method="get" onreset="$(this).find('select.combox').comboxReset()">
	<div class="searchBar">
		<table class="searchContent">

		</table>
		<div class="subBar">
			<ul>
				<li><div class="button"><div class="buttonContent"><button type="reset">重置</button></div></div></li>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/dwz/user/add" target="dialog" [rel="userAdd"]><span>添加</span></a></li>
			<li><a class="delete" callback="refresh" href="/dwz/user/delete?uid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="/dwz/user/add?uid={sid_user}" target="dialog"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="80">id</th>
				<th width="120" align="center">用户名</th>
			</tr>
		</thead>
		<tbody>
		<#list userList as p>
			<tr target="sid_user" rel="${p.id}">
				<td>${p.id}</td>
				<td>${p.username}</td>
			</tr>
		</#list>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="150">150</option>
				<option value="200">200</option>
				<option value="250">250</option>
			</select>
			<span>条，共${totalCount}条</span>
		</div>

		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="${numPerPage}"></div>

	</div>
</div>
<script>
	function refresh(res) {
		console.log("res:"+JSON.stringify(res));
    }
</script>